package r3.powtorka;

import static java.lang.Math.*;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
//import java.util.Scanner;

public class MatmaTesty {

	public static void main(String[] args) {
		
//		int a = 10;
		boolean bool = true;
		System.out.println(bool);
		System.out.println(bool ? 1 : 0);
		bool = false;
		System.out.println(bool);
		System.out.println(bool ? 1 : 0);
		double x = 16.0;
		double dziwne = Double.NEGATIVE_INFINITY;
		String answer = null;
		System.out.println(sqrt(x));
		
		System.out.println("Podaj dzielnik:");
//		Scanner sc = new Scanner(System.in);
//		int k = sc.nextInt();
//		System.out.println(k);
//		sc.close();
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			answer = br.readLine();
			br.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		int dzielnik = Integer.parseInt(answer);
		
//		int wynikInt = a / dzielnik;
		double doubleWynik = x / dzielnik;
		
//		System.out.println(wynikInt);
		System.out.println(doubleWynik);
		System.out.println(10.0 / dziwne);
	}

}
